package com.jic.manager.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.manager.entity.MerchantWeBank;
import com.jic.manager.request.MerchantWeBankRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 商户表
 * @author : 
 * @email : 
 * @since : 2020-11-23 05:13:23
 * @version : v1.0.0
 */
@Repository
@Mapper
public interface  MerchantWeBankMapper {

    long insert(MerchantWeBank merchantWeBank);

    long delete(Long id);

    long update(MerchantWeBank merchantWeBank);

    MerchantWeBank queryByPrimaryKey(Long id);

    List<MerchantWeBank> query(MerchantWeBank merchantWeBank);

    List<MerchantWeBank> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("merchantWeBankRequest") MerchantWeBankRequest merchantWeBankRequest);

    long queryPageCount(@Param("merchantWeBankRequest") MerchantWeBankRequest merchantWeBankRequest);

    long batchUpdateStatus(@Param("merchantWeBankRequest") MerchantWeBankRequest merchantWeBankRequest);
}